package cn.micro.keep.accounts.mapstruct;

import cn.micro.keep.accounts.entity.AccountDimCategory;
import cn.micro.keep.accounts.entity.dto.AccountDimCategoryDTO;
import org.mapstruct.Mapper;
import org.mapstruct.MappingTarget;
import org.mapstruct.factory.Mappers;

@Mapper
public interface AccountDimCategoryMapstruct {

    AccountDimCategoryMapstruct INSTANCE = Mappers.getMapper(AccountDimCategoryMapstruct.class);

    AccountDimCategory dtoToEntity(AccountDimCategoryDTO dto,@MappingTarget AccountDimCategory entity);
}
